package edu.yctc.delivery.entity;

import java.time.LocalDateTime;

/**
 * DemandDO实体类
 * 
 * @author 渠立庆
 */
public class DemandDO {

    /** 主键 */
    private long id;
    /** 配送点的id */
    private long pointId;
    /** 货物需求量 */
    private double goodsRequirement;
    /** 范围的开始时间 */
    private LocalDateTime beginTime;
    /** 范围的结束时间 */
    private LocalDateTime endTime;
    /** 创建时间 */
    private LocalDateTime createTime;
    /** 修改时间 */
    private LocalDateTime modifyTime;

    public long getId() {
        return id;
    }

    public void setId(long id) {
        this.id = id;
    }

    public long getPointId() {
        return pointId;
    }

    public void setPointId(long pointId) {
        this.pointId = pointId;
    }

    public double getGoodsRequirement() {
        return goodsRequirement;
    }

    public void setGoodsRequirement(double goodsRequirement) {
        this.goodsRequirement = goodsRequirement;
    }

    public LocalDateTime getBeginTime() {
        return beginTime;
    }

    public void setBeginTime(LocalDateTime beginTime) {
        this.beginTime = beginTime;
    }

    public LocalDateTime getEndTime() {
        return endTime;
    }

    public void setEndTime(LocalDateTime endTime) {
        this.endTime = endTime;
    }

    public LocalDateTime getCreateTime() {
        return createTime;
    }

    public void setCreateTime(LocalDateTime createTime) {
        this.createTime = createTime;
    }

    public LocalDateTime getModifyTime() {
        return modifyTime;
    }

    public void setModifyTime(LocalDateTime modifyTime) {
        this.modifyTime = modifyTime;
    }

    @Override
    public String toString() {
        StringBuilder builder = new StringBuilder();
        builder.append("DemandDO [id=");
        builder.append(id);
        builder.append(", pointId=");
        builder.append(pointId);
        builder.append(", goodsRequirement=");
        builder.append(goodsRequirement);
        builder.append(", beginTime=");
        builder.append(beginTime);
        builder.append(", endTime=");
        builder.append(endTime);
        builder.append(", createTime=");
        builder.append(createTime);
        builder.append(", modifyTime=");
        builder.append(modifyTime);
        builder.append("]");
        return builder.toString();
    }

}
